package cn.iocoder.yudao.module.polling.controller.admin.pollingtype.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
* 巡检类型 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class PollingTypeBaseVO {

    @ApiModelProperty(value = "乐观锁")
    private String revision;

    @ApiModelProperty(value = "编号", required = true)
    //@NotNull(message = "编号不能为空")
    private String ptCode;

    @ApiModelProperty(value = "名称", required = true)
    @NotNull(message = "名称不能为空")
    private String ptName;

    @ApiModelProperty(value = "符号", required = true)
    @NotNull(message = "符号不能为空")
    private String ptSymbol;

    @ApiModelProperty(value = "周期值", required = true)
    @NotNull(message = "周期值不能为空")
    private Integer ptPeriodValue;

    @ApiModelProperty(value = "周期名称", required = true)
    @NotNull(message = "周期名称不能为空")
    private String ptPeriodTitle;

    @ApiModelProperty(value = "排序")
    private Integer ptRank;

    @ApiModelProperty(value = "是否是系统数据")
    private Boolean ptSystem;

    @ApiModelProperty(value = "状态")
    private Integer ptState;

}
